package me.youline.dataServer.service.support.file;

import java.io.InputStream;

/**
 * 文件位置配置信息
 * @author linhan
 *
 */
public class FileLocationConfig {

	private final InputStream input;
	
	private final long fileSize;
	
	public FileLocationConfig(InputStream input,long fileSize) {
		super();
		this.fileSize = fileSize;
		this.input = input;
	}
	
	public FileLocationConfig(InputStream input) {
		super();
		this.fileSize = 0L;
		this.input = input;
	}

	/**
	 * 获取文件输入流
	 * @return
	 */
	public InputStream getInput() {
		return input;
	}

	public long getFileSize() {
		return fileSize;
	}
	
	
	
}
